package com.example.ListPage.bean;

import java.util.List;

/**
 * list分页显示的返回结果
 * 
 * @author likai
 *
 */
public class ResultBean<T> {

	private List<T> childList; // 子列表
	private int total; // 总条数
	private int pageCount; // 总页数

	/**
	 * @return the pageCount
	 */
	public int getPageCount() {
		return pageCount;
	}

	/**
	 * @param pageCount the pageCount to set
	 */
	public void setPageCount(int pageCount) {
		this.pageCount = pageCount;
	}

	/**
	 * @return the childList
	 */
	public List<T> getChildList() {
		return childList;
	}

	/**
	 * @param childList the childList to set
	 */
	public void setChildList(List<T> childList) {
		this.childList = childList;
	}

	/**
	 * @return the total
	 */
	public int getTotal() {
		return total;
	}

	/**
	 * @param total the total to set
	 */
	public void setTotal(int total) {
		this.total = total;
	}

}
